<template>
    <div class="personalinfo">
        <div class="top">
            <span>我的订单</span>
        </div>
        <div class="info">
            <!-- 订单号 -->
            <div class="ordernum">订单号{{ orderid }}</div>
            <!-- 订单信息 -->
            <div class="orderinfo">
                <span>商品名称:{{ name }}</span>
                <span>商品数量:{{ num }}</span>
                <span>商品价格:{{ price }}</span>
                <span>{{ status }}</span>
                <span></span>
            </div>
        </div>
    </div>
</template>
<script>
export default {
    data() {
        return {
            orderid: "11111",
            name: "商品1",
            num: "2",
            price: "200",
            status: "已付款",
        };
    },
    methods: {
        initorder() {},
    },
};
</script>
<style lang="scss" scoped>
.personalinfo {
    width: 100%;
    height: 100%;
}
.top {
    height: 60px;
    padding: 0 10px 0 24px;
    border-bottom: 1px solid #d4d4d4;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 1px 7px rgba(0, 0, 0, 0.06);
    background: #f3f3f3;
    background: linear-gradient(#fbfbfb, #ececec);
    line-height: 60px;
    font-size: 26px;
    color: #333;
    align-items: center;
}
.info {
    min-height: 500px;
    background-color: #fff;
}
.ordernum {
    height: 30px;
}
.orderinfo {
    height: 60px;
    box-sizing: border-box;
    border: 1px solid rgb(237, 237, 237);
    display: flex;
    justify-content: space-between;
    text-align: center;
}
</style>
